<template>
  <div></div>
</template>

<script>
import Title from "@/views/components/index/indexTitle.vue";
import Swiper from "swiper";
export default {
  components: {
    Title,
  },
  mounted() {
    new Swiper(".swiper-container", {
      slidesPerView: 4,
      spaceBetween: 30,
      loop: true,
      // 如果需要分页器
      pagination: ".swiper-pagination",
      // 如果需要前进后退按钮
      nextButton: ".swiper-button-nextsp",
      prevButton: ".swiper-button-prevsp",
      // 如果需要滚动条
      scrollbar: ".swiper-scrollbar",
    });
  },
  data() {
    return {
      tabChangeIndex: "1",
      teacherList: [
        {
          id: 0,
          name: "马小军",
          userImg:
            "http://peixun.cefatc.org.cn/statics/uploadfile/2021/1214/20211214012712880.jpg",
          introduction:
            "马小军，中国艺术职业教育学会社会艺术教育工作委员会主任",
          link: "",
        },
        {
          id: 1,
          name: "马小军",
          userImg:
            "http://peixun.cefatc.org.cn/statics/uploadfile/2021/1214/20211214012712880.jpg",
          introduction:
            "马小军，中国艺术职业教育学会社会艺术教育工作委员会主任",
          link: "",
        },
        {
          id: 2,
          name: "马小军",
          userImg:
            "http://peixun.cefatc.org.cn/statics/uploadfile/2021/1214/20211214012712880.jpg",
          introduction:
            "马小军，中国艺术职业教育学会社会艺术教育工作委员会主任",
          link: "",
        },
        {
          id: 3,
          name: "马小军",
          userImg:
            "http://peixun.cefatc.org.cn/statics/uploadfile/2021/1214/20211214012712880.jpg",
          introduction:
            "马小军，中国艺术职业教育学会社会艺术教育工作委员会主任",
          link: "",
        },
        {
          id: 4,
          name: "马小军",
          userImg:
            "http://peixun.cefatc.org.cn/statics/uploadfile/2021/1214/20211214012712880.jpg",
          introduction:
            "马小军，中国艺术职业教育学会社会艺术教育工作委员会主任",
          link: "",
        },
        {
          id: 5,
          name: "马小军",
          userImg:
            "http://peixun.cefatc.org.cn/statics/uploadfile/2021/1214/20211214012712880.jpg",
          introduction:
            "马小军，中国艺术职业教育学会社会艺术教育工作委员会主任",
          link: "",
        },
      ],
    };
  },
  created() {},
};
</script>

<style scoped>
@import "../assets/index.css";
</style>
